VerticalBoxLayout.setVAlign

Sets the Vertical alignment for all child content where all child controls are aligned as a single block.

Supported values:
ValueConstant
ControlConstants.VERTICAL_ALIGNMENT_NONE
CenterControlConstants.VERTICAL_ALIGNMENT_CENTER
TopControlConstants.VERTICAL_ALIGNMENT_TOP
BottomControlConstants.VERTICAL_ALIGNMENT_BOTTOM
FillControlConstants.VERTICAL_ALIGNMENT_FILL

Setting a value of null removes any existing value for the property.

Further documentation.

Example:

 controls.PANEL1.layout.setVAlign(ControlConstants.VERTICAL_ALIGNMENT_TOP);
 

Parameters

java.lang.String  vAlign,